package com.yaoming.umengshare.listener;

import android.content.Context;
import android.widget.Toast;

import com.umeng.socialize.bean.SHARE_MEDIA;
import com.umeng.socialize.shareboard.SnsPlatform;
import com.umeng.socialize.utils.ShareBoardlistener;

/**
 * Created by zwj on 2015/12/24.
 */
public class UmShareBoardlistener implements ShareBoardlistener {
    private Context mContext;
    public UmShareBoardlistener(Context context){
        this.mContext=context;
    }
    @Override
    public void onclick(SnsPlatform snsPlatform, SHARE_MEDIA share_media) {
        if (share_media==SHARE_MEDIA.QQ){
            Toast.makeText(mContext,"点了QQ",Toast.LENGTH_LONG).show();
        }
    }
}
